//
//  ZYWeiBoHandler.h
//  SuiTong
//
//  Created by 石志愿 on 2020/9/3.
//  Copyright © 2020 石志愿. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ZYShareConstans.h"

NS_ASSUME_NONNULL_BEGIN

@interface ZYWeiBoHandler : NSObject

- (void)registerApp;

///是否安装微博
- (BOOL)installWeiBo;

/// 处理应用拉起协议
- (BOOL)HandleOpenURL:(NSURL *)url;


//分享网页
- (void)shareWebPage:(ZYThirdShareInfo *)info completion:(__nullable ZYThirdShareBlock)completion;

//分享图片
- (void)shareImage:(UIImage *)image completion:(__nullable ZYThirdShareBlock)completion;

//分享文本
- (void)shareText:(NSString *)text completion:(__nullable ZYThirdShareBlock)completion;

/// 登录
- (void)login:(__nullable ZYThirdLoginBlock)completion;

@end

NS_ASSUME_NONNULL_END
